package cn.samler.diandi.api.mapper;

import cn.samler.diandi.api.entity.Eval;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserEvalMapper {
    Integer insert(Eval eval);

    List<Eval> list(@Param("id") int id, @Param("role") int role,
                    @Param("start") int start, @Param("offset") int offset);

}
